package com.bcx.crm.java.enum1;

/**
 * Created by ys on 2018/1/22.
 */
public enum PracticeEnum {
    RED("红色",1),
    GREEN("绿色",1),
    BLANK("白色",1),
    YELLOW;

    private String name;
    private int index;

    PracticeEnum(){
    }
    PracticeEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
